
package com.mycompany.oj.service;

import com.mycompany.oj.entity.*;
import java.util.List;
import java.util.Map;

/**
 *
 * @author wucy
 */
public interface StudentService {
     //获取个人信息
    public studentInformation getStudentInformationService(String id);
    //修改手机号
    public JsonResult changePhoneService(String newnumber, String id);
    //修改密码
    public JsonResult changePasswordService(String newpassword, String username);
    //学生做题信息
    public StudentShowInformation showInformationService(String username);
    //修改每日计划
    public JsonResult changePlanService(String newnumber, String username);
     //概况
    public QuestionFinishedNumber summarizeService(String username);
    //获取收藏夹
    public List<StudentFavorites> getFavoritesService(String username) ;
    //删除收藏题目
    public JsonResult deleteQuestionService(String username, int question_id);
    //获取各个难度的num
    public List<Map<String,Object>> getDifficultNum();
    //修改个人信息
    public JsonResult changePersonalInformation(studentInformation student_information, String username);
    //获取最近五道题的记录
    public List<QuestionRegister> getFiveStudent(String username);
    //做题
    public JsonResult practice(String file, String language, String question_name,String student_name,String status);
    //获取时间空间结果
}
